<template>
  <div id="chart">
    <Card size="small" title="不同等级座位的平均价格" class="card-item">
      <LevelAvePriceChart />
    </Card>
    <Card size="small" title="不同类型的列车比例" class="card-item">
      <RailTypeChart />
    </Card>
  </div>
</template>

<script>
import { Card } from "ant-design-vue";
import DemoChart from '@/components/DemoChart'
import RailTypeChart from './RailTypeChart'
import LevelAvePriceChart from './LevelAvePriceChart.vue'
export default {
  data() {
    return {};
  },
  components: {
    Card,
    DemoChart,
    RailTypeChart,
    LevelAvePriceChart,
  },
  created() {},
  methods: {},
};
</script>

<style scoped>
#chart{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.card-item{
  width: 400px;
  height: 430px;
  margin-left: 20px;
  margin-bottom: 10px;
}
</style>